<?php

use WeiPu\Shop\Http\Controllers;
use Illuminate\Support\Facades\Route;

Route::get('weipu/shop', Controllers\ShopController::class . '@index');
// 获取插件列表
Route::get('weipu/get_softwares', Controllers\ShopController::class . '@getSoftWares');
// 安装插件
Route::any('weipu/install_softwares', Controllers\ShopController::class . '@installSoftWare');
// 登录
Route::any('weipu/login_softwares', Controllers\ShopController::class . '@loginSoftWare');
// 卸载插件
Route::any('weipu/uninstall_softwares', Controllers\ShopController::class . '@uninstallSoftWare');
// 查询订单
Route::any('weipu/getOrder', Controllers\ShopController::class . '@findPayOrder');
// 发送验证码
Route::any('weipu/send_code', Controllers\ShopController::class . '@sendCode');
// 重写后台扩展
$router->resource('auth/extensions', Controllers\AdminExtensionController::class);
